#include "imagerectpropertyframe.h"

ImageRectPropertyFrame::ImageRectPropertyFrame(QWidget *parent)
	: PropertyFrame(parent)
{
	QtProperty * imageProperty  = groupManager->addProperty(tr("Image Property"));
	editor->addProperty(imageProperty);
	QtProperty * xProperty = intManager->addProperty(tr("x"));
	imageProperty->addSubProperty(xProperty);
	QtProperty * yProperty = intManager->addProperty(tr("y"));
	imageProperty->addSubProperty(yProperty);
	QtProperty * scaleProperty = doubleManager->addProperty(tr("scale"));
	imageProperty->addSubProperty(scaleProperty);
	QtProperty * flipXProperty = boolManager->addProperty(tr("flipX"));
	imageProperty->addSubProperty(flipXProperty);
	QtProperty * flipYProperty = boolManager->addProperty(tr("flipY"));
	imageProperty->addSubProperty(flipYProperty);
	QtProperty * opacityProperty = doubleManager->addProperty(tr("opacity"));
	imageProperty->addSubProperty(opacityProperty);
	QtProperty * rotationProperty = doubleManager->addProperty("rotation");
	imageProperty->addSubProperty(rotationProperty);
	QtProperty * anchorXProperty = doubleManager->addProperty("anchorX");
	imageProperty->addSubProperty(anchorXProperty);
	QtProperty * anchorYProperty = doubleManager->addProperty("anchorY");
	imageProperty->addSubProperty(anchorYProperty);
}

ImageRectPropertyFrame::~ImageRectPropertyFrame()
{

}
